package com.sdslzyxyhtgl.modules.ggfw.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sdslzyxyhtgl.common.utils.PageUtils;
import com.sdslzyxyhtgl.common.utils.Query;

import com.sdslzyxyhtgl.modules.ggfw.dao.ZxsjDao;
import com.sdslzyxyhtgl.modules.ggfw.entity.ZxsjEntity;
import com.sdslzyxyhtgl.modules.ggfw.service.ZxsjService;


@Service("zxsjService")
public class ZxsjServiceImpl extends ServiceImpl<ZxsjDao, ZxsjEntity> implements ZxsjService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ZxsjEntity> page = this.page(
                new Query<ZxsjEntity>().getPage(params),
                new QueryWrapper<ZxsjEntity>()
        );

        return new PageUtils(page);
    }

}